#ifndef SENCE_CONFIG_H_
#define SENCE_CONFIG_H_
#include "ui.h"

class Sence_Config{
private:
	UI::UI_ConfigStore config;
public:
	Sence_Config(std::string file);
private:
	UI::UI_Point Parse(const std::string& txt) const;
public:
	int Game_Timer_Tick;
	int Background_Tick_Num;
	int Block_Tick_Num;
	int Block_Tick_Per_Pic;
	int Building_Tick_Num;
	int Building_Tick_Per_Pic;
	int Reward_Tick_Num;
	int Reward_Tick_Per_Pic;
	
	int Background_Num;
	int Block_Left_Num;
	int Block_Mid_Num;
	int Block_Right_Num;
	int Building_Left_Num;
	int Building_Right_Num;
	int Reward_Num;
	
	std::string BackgroundFolder;
	std::string Block_Left_Folder;
	std::string Block_Right_Folder;
	std::string Block_Mid_Folder;
	std::string Building_Left_Folder;
	std::string Building_Right_Folder;
	std::string Reward_Folder;
	
	
	UI::UI_Point Right_Block_Max_Point;
	UI::UI_Point Right_Block_Min_Point;
	int Right_Block_Max_Width;
	int Right_Block_Min_Width;
	
	UI::UI_Point Mid_Block_Max_Point;
	UI::UI_Point Mid_Block_Min_Point;
	int Mid_Block_Max_Width;
	int Mid_Block_Min_Width;
	
	UI::UI_Point Left_Block_Max_Point;
	UI::UI_Point Left_Block_Min_Point;
	int Left_Block_Max_Width;
	int Left_Block_Min_Width;
	
	
	UI::UI_Point Right_Reward_Max_Point;
	UI::UI_Point Right_Reward_Min_Point;
	int Right_Reward_Max_Width;
	int Right_Reward_Min_Width;
	
	UI::UI_Point Mid_Reward_Max_Point;
	UI::UI_Point Mid_Reward_Min_Point;
	int Mid_Reward_Max_Width;
	int Mid_Reward_Min_Width;
	
	UI::UI_Point Left_Reward_Max_Point;
	UI::UI_Point Left_Reward_Min_Point;
	int Left_Reward_Max_Width;
	int Left_Reward_Min_Width;
	
	
	UI::UI_Point Right_Building_Max_Point;
	UI::UI_Point Right_Building_Min_Point;
	int Right_Building_Max_Width;
	int Right_Building_Min_Width;
	
	UI::UI_Point Left_Building_Max_Point;
	UI::UI_Point Left_Building_Min_Point;
	int Left_Building_Max_Width;
	int Left_Building_Min_Width;
};
#endif
